<?php
class News_Form_NewsEdit extends News_Form_NewsAdd {

	/**
	 * @var mixed
	 */
	protected $_treeValues;
	
	/**
	 * @param mixed $value
	 */
	public function setTreeValues($value) {
		$this->_treeValues = $value;
	}

	public function init() {
		parent::init();

		$this->getSubForm('categorytab')
			 ->getElement('tree')
			 ->setValue($this->_treeValues);
	}
}